All Questions
3 questions
1vote
1answer
506views
Vectorized N-Dimensional Random Walk in Cartesian Coordinates
I have written a random-walk routine that I hope to build upon in the future. Before doing so, I was hoping to get some critique. I believe the implementation is correct. I noticed that many other ...
2votes
1answer
2kviews
Generate a random discrete signal
I currently have this code to generate a discrete signal with random amplitudes, but a fixed frequency: ...
3votes
2answers
7kviews
Generate random unit vectors around circle
I'm trying to generate a bunch of uniformly distributed unit vectors around the unit circle. Here's my code, which is working, but unfortunately I have a for-loop. How do I get rid of this for-loop? <...